package com.jintoufs.dao.account;

import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.account.AccountDetail;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface AccountDetailMapper {
    int deleteByPrimaryKey(String id);

    int insert(AccountDetail record);

    int insertSelective(AccountDetail record);

    AccountDetail selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AccountDetail record);

    int updateByPrimaryKey(AccountDetail record);

    List<Map<String,Object>> getByFilter(QueryFilters filters);
    List<Map<String,Object>> getDetailByFilter(QueryFilters filters);
    List<Map<String,Object>> getPlatformByFilter(QueryFilters filters);

    BigDecimal selectByShopId(String shopId);

    List<Map<String,Object>> getByParam(Map<String,Object> param);


}